//
//  UIColor+Random.m
//  OCPopular
//
//  Created by Jarvis on 2024/6/3.
//

#import "UIColor+Random.h"

@implementation UIColor (Random)


+ (UIColor *)randomColor {
    CGFloat r = arc4random_uniform(255)/255.0;
    CGFloat g = arc4random_uniform(255)/255.0;
    CGFloat b = arc4random_uniform(255)/255.0;
    return [UIColor colorWithRed:r green:g blue:b alpha:1];
}

@end
